package com.dynamixsoftware.printershare.mdns;

public class DnsEntity {
	int clazz;
	String key;
	String name;
	int type;
	boolean unique;

	DnsEntity(String paramString, int paramInt1, int paramInt2) {
		this.key = paramString.toLowerCase();
		this.name = paramString;
		this.type = paramInt1;
		this.clazz = (paramInt2 & 0x7FFF);
		if ((0x8000 & paramInt2) != 0) {
		}
		for (boolean bool = true;; bool = false) {
			this.unique = bool;
			return;
		}
	}

	public boolean equals(Object paramObject) {
		boolean bool1 = paramObject instanceof DnsEntity;
		boolean bool2 = false;
		if (bool1) {
			DnsEntity localDnsEntity = (DnsEntity) paramObject;
			boolean bool3 = this.name.equals(localDnsEntity.name);
			bool2 = false;
			if (bool3) {
				int i = this.type;
				int j = localDnsEntity.type;
				bool2 = false;
				if (i == j) {
					int k = this.clazz;
					int m = localDnsEntity.clazz;
					bool2 = false;
					if (k == m) {
						bool2 = true;
					}
				}
			}
		}
		return bool2;
	}

	public String getName() {
		return this.name;
	}

	public int getType() {
		return this.type;
	}

	public int hashCode() {
		return this.name.hashCode() + this.type + this.clazz;
	}
}

/*
 * Location:
 * C:\Users\Admin\Desktop\Decompiler\JAD\jd-gui-0.3.6.windows\classes_dex2jar
 * .jar
 * 
 * Qualified Name: com.dynamixsoftware.printershare.mdns.DnsEntity
 * 
 * JD-Core Version: 0.7.0.1
 */